Skip to content

Upgrades Hapi to 14.2.0#8313

Merged
tylersmalley merged 1 commit intoelastic:masterfrom
tylersmalley:hapi-upgrade
Sep 26, 2016
Merged

Upgrades Hapi to 14.2.0#8313
tylersmalley merged 1 commit intoelastic:masterfrom
tylersmalley:hapi-upgrade

Conversation

@tylersmalley
Copy link
Member

As of Node 6, crypto.pbkdf emits a deprecation warning when the digest isn't explicily set. Under certain conditions we are seeing this warning from Hapi's dependency Iron. Iron resolved this issue as of 4.0.4, which was introduced into Hapi as of 14.0.0.

Node deprecation: nodejs/node@8e8959d
Iron's resolution: hapijs/iron@9e0a1ef

As of Hapi v9, they have removed three build-in plugins from the core which we rely on inert (files and directories), vision (view templates), and h2o2 (proxy). hapijs/hapi#2682

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can not pass option.statusCode in the request, as Joi was throwing an error.

As of Node 6, crypto.pbkdf emits a deprecation warning when the digest isn't explicily set. Under certain conditions we are seeing this warning from Hapi's dependency Iron. Iron resolved this issue as of 4.0.4, which was introduced into Hapi as of 14.0.0.

Node deprecation: nodejs/node@8e8959d
Iron's resolution: hapijs/iron@9e0a1ef

As of Hapi v9, they have removed three build-in plugins from the core which we rely on inert (files and directories), vision (view templates), and h2o2 (proxy). hapijs/hapi#2682

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
@tylersmalley tylersmalley changed the title Upgrades Hapi to 14.2.0 (latest) Upgrades Hapi to 14.2.0 Sep 19, 2016
@spalger
Copy link
Contributor

spalger commented Sep 21, 2016

Is there a reason we don't go all the way to version 15?

@tylersmalley
Copy link
Member Author

A lot more broke when going to 15.0 and after working towards a solution I felt it would be better to make an incremental change which solved the issue then take another pass at it

@AdriVanHoudt
Copy link

@tylersmalley I assume you would also like to update joi, boom, wreck as a separate PR as well then?

Copy link
Contributor

@spalger spalger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tylersmalley
Copy link
Member Author

@AdriVanHoudt, not at this time. Is there a reason your looking to get those dependencies bumped?

@thomasneirynck thomasneirynck self-assigned this Sep 22, 2016
@AdriVanHoudt
Copy link

AdriVanHoudt commented Sep 22, 2016

@tylersmalley Boom and Wreck not really (apart from upgrading the whole hapi bunch at once) but Joi is recommended in the hapi 14 release notes, see hapijs/hapi#3272
Also why use Wreck and request?

@thomasneirynck
Copy link
Contributor

LGTM

@tylersmalley tylersmalley merged commit 2fd4920 into elastic:master Sep 26, 2016
elastic-jasper added a commit that referenced this pull request Sep 26, 2016
---------

**Commit 1:**
Upgrades Hapi to 14.2.0

As of Node 6, crypto.pbkdf emits a deprecation warning when the digest isn't explicily set. Under certain conditions we are seeing this warning from Hapi's dependency Iron. Iron resolved this issue as of 4.0.4, which was introduced into Hapi as of 14.0.0.

Node deprecation: nodejs/node@8e8959d
Iron's resolution: hapijs/iron@9e0a1ef

As of Hapi v9, they have removed three build-in plugins from the core which we rely on inert (files and directories), vision (view templates), and h2o2 (proxy). hapijs/hapi#2682

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Original sha: 4feeff1
* Authored by Tyler Smalley <tyler.smalley@elastic.co> on 2016-09-13T19:20:22Z
elastic-jasper added a commit that referenced this pull request Sep 26, 2016
---------

**Commit 1:**
Upgrades Hapi to 14.2.0

As of Node 6, crypto.pbkdf emits a deprecation warning when the digest isn't explicily set. Under certain conditions we are seeing this warning from Hapi's dependency Iron. Iron resolved this issue as of 4.0.4, which was introduced into Hapi as of 14.0.0.

Node deprecation: nodejs/node@8e8959d
Iron's resolution: hapijs/iron@9e0a1ef

As of Hapi v9, they have removed three build-in plugins from the core which we rely on inert (files and directories), vision (view templates), and h2o2 (proxy). hapijs/hapi#2682

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Original sha: 4feeff1
* Authored by Tyler Smalley <tyler.smalley@elastic.co> on 2016-09-13T19:20:22Z
elastic-jasper added a commit that referenced this pull request Sep 26, 2016
---------

**Commit 1:**
Upgrades Hapi to 14.2.0

As of Node 6, crypto.pbkdf emits a deprecation warning when the digest isn't explicily set. Under certain conditions we are seeing this warning from Hapi's dependency Iron. Iron resolved this issue as of 4.0.4, which was introduced into Hapi as of 14.0.0.

Node deprecation: nodejs/node@8e8959d
Iron's resolution: hapijs/iron@9e0a1ef

As of Hapi v9, they have removed three build-in plugins from the core which we rely on inert (files and directories), vision (view templates), and h2o2 (proxy). hapijs/hapi#2682

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Original sha: 4feeff1
* Authored by Tyler Smalley <tyler.smalley@elastic.co> on 2016-09-13T19:20:22Z
epixa added a commit that referenced this pull request Sep 28, 2016
[backport] PR #8313 to 5.x - Upgrades Hapi to 14.2.0
epixa added a commit that referenced this pull request Sep 28, 2016
[backport] PR #8313 to 5.0 - Upgrades Hapi to 14.2.0
@epixa epixa added the v4.6.2 label Sep 28, 2016
@epixa epixa added v5.0.0 and removed v5.0.0 labels Oct 7, 2016
tylersmalley added a commit that referenced this pull request Oct 11, 2016
[backport] PR #7920,#8313 to 4.6 - Upgrade to Node 6.4.0
@epixa epixa added v4.6.3 and removed v4.6.2 labels Oct 24, 2016
@epixa epixa added v4.7.0 and removed v4.6.3 labels Nov 16, 2016
@epixa epixa added the v4.6.4 label Dec 20, 2016
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
---------

**Commit 1:**
Upgrades Hapi to 14.2.0

As of Node 6, crypto.pbkdf emits a deprecation warning when the digest isn't explicily set. Under certain conditions we are seeing this warning from Hapi's dependency Iron. Iron resolved this issue as of 4.0.4, which was introduced into Hapi as of 14.0.0.

Node deprecation: nodejs/node@8e8959d
Iron's resolution: hapijs/iron@9e0a1ef

As of Hapi v9, they have removed three build-in plugins from the core which we rely on inert (files and directories), vision (view templates), and h2o2 (proxy). hapijs/hapi#2682

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Original sha: b7e158d8ce37c2e2fd34bf19b98287500ce324aa [formerly 4feeff1]
* Authored by Tyler Smalley <tyler.smalley@elastic.co> on 2016-09-13T19:20:22Z


Former-commit-id: 853c62e
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
[backport] PR elastic#8313 to 5.x - Upgrades Hapi to 14.2.0

Former-commit-id: f4dd1c1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

Comments